import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import router from './router';
import  moment  from "moment"
import {nutuicomponents} from './plugin/nutui.js'
import customtabbar from "./components/tabBar.vue"
const app = createApp(App);
app.use(router);
app.component('customtabbar',customtabbar);
nutuicomponents.forEach((item:any) => {
    app.use(item);
});
moment.locale('zh-cn');
app.config.globalProperties.$moment = moment
app.mount('#app');
